home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / etc / Muttrc < prev    next >
Encoding:
Text File  |  2011-12-19  |  4.5 KB  |  137 lines

  1. #
  2. # System configuration file for Mutt
  3. #
  4.  
  5. # Default list of header fields to weed when displaying.
  6. # Ignore all lines by default...
  7. ignore *
  8.  
  9. # ... then allow these through.
  10. unignore from: subject to cc date x-mailer x-url user-agent
  11.  
  12. # Display the fields in this order
  13. hdr_order date from to cc subject
  14.  
  15. # emacs-like bindings
  16. bind editor    "\e<delete>"    kill-word
  17. bind editor    "\e<backspace>" kill-word
  18.  
  19. # map delete-char to a sane value
  20. bind editor     <delete>  delete-char
  21.  
  22. # some people actually like these settings
  23. #set pager_stop
  24. #bind pager <up> previous-line
  25. #bind pager <down> next-line
  26.  
  27. # Specifies how to sort messages in the index menu.
  28. set sort=threads
  29.  
  30. # The behavior of this option on the Debian mutt package is
  31. # not the original one because exim4, the default SMTP on Debian
  32. # does not strip bcc headers so this can cause privacy problems;
  33. # see man muttrc for more info
  34. #unset write_bcc
  35. # Postfix and qmail use Delivered-To for detecting loops
  36. unset bounce_delivered
  37.  
  38. set mixmaster="mixmaster-filter"
  39.  
  40. # System-wide CA file managed by the ca-certificates package
  41. set ssl_ca_certificates_file="/etc/ssl/certs/ca-certificates.crt"
  42.  
  43. # imitate the old search-body function
  44. macro index \eb "<search>~b " "search in message bodies"
  45.  
  46. # simulate the old url menu
  47. macro index,pager,attach,compose \cb "\
  48. <enter-command> set my_pipe_decode=\$pipe_decode pipe_decode<Enter>\
  49. <pipe-message> urlview<Enter>\
  50. <enter-command> set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<Enter>" \
  51. "call urlview to extract URLs out of a message"
  52.  
  53. # Show documentation when pressing F1
  54. macro generic,pager <F1> "<shell-escape> zcat /usr/share/doc/mutt/manual.txt.gz | sensible-pager<enter>" "show Mutt documentation"
  55.  
  56. # show the incoming mailboxes list (just like "mutt -y") and back when pressing "y"
  57. macro index,pager y "<change-folder>?<toggle-mailboxes>" "show incoming mailboxes list"
  58. bind browser y exit
  59.  
  60. # If Mutt is unable to determine your site's domain name correctly, you can
  61. # set the default here. (better: fix /etc/mailname)
  62. #
  63. # set hostname=cs.hmc.edu
  64.  
  65. # If your sendmail supports the -B8BITMIME flag, enable the following
  66. #
  67. # set use_8bitmime
  68.  
  69. # Use mime.types to look up handlers for application/octet-stream. Can
  70. # be undone with unmime_lookup.
  71. mime_lookup application/octet-stream
  72.  
  73. # Upgrade the progress counter every 250ms, good for mutt over SSH
  74. # see http://bugs.debian.org/537746
  75. set time_inc=250
  76.  
  77. ##
  78. ## *** DEFAULT SETTINGS FOR THE ATTACHMENTS PATCH ***
  79. ##
  80.  
  81. ##
  82. ## Please see the manual (section "attachments")  for detailed
  83. ## documentation of the "attachments" command.
  84. ##
  85. ## Removing a pattern from a list removes that pattern literally. It
  86. ## does not remove any type matching the pattern.
  87. ##
  88. ##  attachments   +A */.*
  89. ##  attachments   +A image/jpeg
  90. ##  unattachments +A */.*
  91. ##
  92. ## This leaves "attached" image/jpeg files on the allowed attachments
  93. ## list. It does not remove all items, as you might expect, because the
  94. ## second */.* is not a matching expression at this time.
  95. ##
  96. ## Remember: "unattachments" only undoes what "attachments" has done!
  97. ## It does not trigger any matching on actual messages.
  98.  
  99. ## Qualify any MIME part with an "attachment" disposition, EXCEPT for
  100. ## text/x-vcard and application/pgp parts. (PGP parts are already known
  101. ## to mutt, and can be searched for with ~g, ~G, and ~k.)
  102. ##
  103. ## I've added x-pkcs7 to this, since it functions (for S/MIME)
  104. ## analogously to PGP signature attachments. S/MIME isn't supported
  105. ## in a stock mutt build, but we can still treat it specially here.
  106. ##
  107. attachments   +A */.*
  108. attachments   -A text/x-vcard application/pgp.*
  109. attachments   -A application/x-pkcs7-.*
  110.  
  111. ## Discount all MIME parts with an "inline" disposition, unless they're
  112. ## text/plain. (Why inline a text/plain part unless it's external to the
  113. ## message flow?)
  114. ##
  115. attachments   +I text/plain
  116.   
  117. ## These two lines make Mutt qualify MIME containers.  (So, for example,
  118. ## a message/rfc822 forward will count as an attachment.)  The first
  119. ## line is unnecessary if you already have "attach-allow */.*", of
  120. ## course.  These are off by default!  The MIME elements contained
  121. ## within a message/* or multipart/* are still examined, even if the
  122. ## containers themseves don't qualify.
  123. ##
  124. #attachments  +A message/.* multipart/.*
  125. #attachments  +I message/.* multipart/.*
  126.  
  127. ## You probably don't really care to know about deleted attachments.
  128. attachments   -A message/external-body
  129. attachments   -I message/external-body
  130.  
  131. # enable mime lookup by extension
  132. mime_lookup application/octet-stream
  133.  
  134. ##
  135. # See /usr/share/doc/mutt/README.Debian for details.
  136. source /usr/lib/mutt/source-muttrc.d|
  137.